#include<stdio.h>
#include<malloc.h>
#include<string.h>
#include "vfs.h"

#pragma once
#ifndef bst_H
#define bst_H
typedef struct bst_node{
char fullpath[addressLength];
struct bst_node *parent, *lchild, * rchild;
}bst;

void add_elt(char*);
bst* gethead();
void nullHead();
void display(bst*);
long search_elt(char*);
int search_file(char*,bst*);
char* returnfileName(char*);
bst* minimum();
bst* search_delete(char*);
void transplant(bst*,bst*);
int delete_node(char*);
#endif

